package com.hsy.crm.web.mapper;

import com.hsy.crm.web.config.CrmMapper;
import com.hsy.crm.web.domain.entity.Dict;
import com.hsy.crm.web.domain.entity.PlatformCustomer;
import com.hsy.crm.web.domain.entity.User;

import java.util.List;

public interface PlatCustomerMapper extends CrmMapper<PlatformCustomer> {

    Long checkPhone(PlatformCustomer platformCustomer);

    Long checkPlatCustomerId(PlatformCustomer platformCustomer);

    List<Dict> findS1dDicts();

    void insertDicts(List<Dict> dicts);

    void insertUser(User user);

    void updateComInfo(PlatformCustomer platformCustomer);

}
